package com.GDOU.bean;

import org.springframework.stereotype.Component;

@Component
public class Manager {
    //管理员id
    private Integer mId;
    //用户名
    private String username;
    //密码
    private String pwd;
    //姓名
    private String mName;

    public Manager() {
    }

    public Manager(Integer mId, String username, String pwd, String mName) {
        this.mId = mId;
        this.username = username;
        this.pwd = pwd;
        this.mName = mName;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "mId=" + mId +
                ", username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", mName='" + mName + '\'' +
                '}';
    }
}
